﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<agent02.Model.TAI_KHOAN>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	LogOn
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Log On</h2>
    <% using (Html.BeginForm())
       {%>
        <%: Html.ValidationSummary(true)%>
    <div>
        <table cellpadding="1" cellspacing="0" style="border-collapse:collapse;">
            <tr>
                <td>
                    <table cellpadding="0">
                        <tr>
                            <td align="center" colspan="2">
                                Account Information</td>
                        </tr>
                        <tr>
                            <td align="right">
                                <%: Html.LabelFor(m => m.Username)%>
                            </td>
                            <td>
                                <%: Html.TextBoxFor(m => m.Username)%>
                                <%: Html.ValidationMessageFor(m => m.Username)%>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <%: Html.LabelFor(m => m.Password)%>
                            </td>
                            <td>
                                <%: Html.PasswordFor(m => m.Password)%>
                                <%: Html.ValidationMessageFor(m => m.Password)%>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="2">
                                <input type="submit" value="Log In" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <% } %>

</asp:Content>
